﻿package com.wandian.model.http
{
	import com.wandian.data.GameData;
	
	import flash.net.Responder;

    public class BankData extends ServerConfig
    {

        public function BankData() : void
        {
            return;
        }

        public function requestOpenBank(param1:Object, param2:Function) : void
        {
            this.objConnect.call("Abank.open", new Responder(param2, this.serverFault), {sesskey:GameData.sesskey, data:{pw:param1.pw, email:param1.email, tel:param1.tell}});
            return;
        }

        public function requestGetBankRecord(param1:int, param2:Function) : void
        {
            this.objConnect.call("Abank.get", new Responder(param2, this.serverFault), {sesskey:GameData.sesskey, data:{page:param1}});
            return;
        }

    }
}
